package com.ruimei.mapper;

import com.ruimei.entitys.*;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface AttendanceMapper
{
  public abstract Integer insertAttendance(Attendance attendance);
  
  public abstract List<RmClass> getClassByTeacherId(@Param("teacherId") String teacherId);

  public abstract List<RmClass> getClassRoom();

  public List<String> getPostId(@Param("teacherId") String teacherId);

  public abstract List<Student> getStudentsByClassId(@Param("classId") String classId);
  
  public abstract List<Attendance> getAttendanceByTeacherId(@Param("teacherId") String teacherId, @Param("attendanceId") String attendanceId, @Param("attendanceType") String attendanceType, @Param("studentName") String studentName, @Param("classId") String classId, @Param("beginTime") String beginTime, @Param("endTime") String endTime);
  
  public abstract List<AttendanceStat> getAttendanceByStudentName(@Param("classId") String classId, @Param("studentName") String studentName, @Param("beginTime") String beginTime, @Param("endTime") String endTime);
  
  public abstract List<Attendance> selectAttendance(@Param("id") String id, @Param("type") String type,@Param("attendanceId") String attendanceId,@Param("beginTime") String beginTime, @Param("endTime") String endTime);
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\mapper\AttendanceMapper.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */